﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AuthsToUser.ascx.cs" Inherits="Hisun.UserControl.Admin.AuthsToUser" %>
<p>
    <br />
    <asp:Label ID="labTitle" runat="server" Text="当前正在编辑用户为『{0}』的特权。"></asp:Label>
</p>
<p>
    <asp:CheckBoxList ID="chkListAuths" runat="server" 
        DataSourceID="LinqDataSource2" DataTextField="权限名称" DataValueField="权限ID">
    </asp:CheckBoxList>
</p>
<p>
    <asp:LinkButton ID="lnkBtnSetAuths" runat="server" 
        onclick="lnkBtnSetAuths_Click">设置</asp:LinkButton>
</p>
<p>
    &nbsp;</p>
<p>
    <asp:LinqDataSource ID="LinqDataSource2" runat="server" 
        ContextTypeName="Hisun.Models.HisunDBDataContext" OrderBy="权限ID desc" 
        Select="new (权限名称, 权限ID)" TableName="TABC_JS_Auths">
    </asp:LinqDataSource>
</p>


